GetMoviePreviewMode
TheGetMoviePreviewMode
function allows your application to determine whether a movie is in preview mode. If a movie is in preview mode, only the movie's preview can be displayed. Your application can place a movie into and out of preview mode by calling theSetMoviePreviewMode
function, which is described in the previous section.
pascal Boolean GetMoviePreviewMode (Movie theMovie);
theMovie
- Specifies the movie for this operation. Your application obtains this movie identifier from such functions as
NewMovie
,NewMovieFromFile
, andNewMovieFromHandle
(described on page 2-80, page 2-76, and page 2-78, respectively).DESCRIPTION
TheGetMoviePreviewMode
function returns a Boolean value. If the movie is in preview mode, the function sets this return value totrue
. If the movie is in normal playback mode, the function sets this value tofalse
.ERROR CODES
invalidMovie -2010 This movie is corrupted or invalid